import request from '@/utils/request';
// 查看评价列表：{"mdseName":"商品名字,"nickName":"买家名称","shopId":"店铺id"，"pageNo":","pageSize":"}
export function getAppraise(data) {
  return request({
    url: '/AppraiseRest/getAppraise',
    method: 'post',
    data
  });
}
// 查看评价详情 ：{"id"："活动id"}
export function getAppraiseDetails(data) {
  return request({
    url: '/AppraiseRest/getAppraiseDetails',
    method: 'post',
    data
  });
}
// 评价回复 ：{"userId":"店铺id","content":"回复内容","id":"评价id"}
export function insert(data) {
  return request({
    url: '/AppraiseRest/insert',
    method: 'post',
    data
  });
}
